package com.loan.system.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.loan.common.core.domain.BaseEntity;
import com.loan.common.enums.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author shiguang on 2022/8/29 10:54
 */
@Data
@TableName("vn_user")
@ExcelIgnoreUnannotated
@ApiModel("用户管理")
public class UserEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "user_id")
    private Long userId;
    /**
     * 用户名
     */
    private String userName;

    /**
     * 电话
     */
    private String userPhone;

    /**
     * 性别
     */
    private String sex;

    /**
     * 学历
     */
    private Long education;

    /**
     * 婚姻状况
     */
    private Long marriageStatus;

    /**
     * 小孩数量
     */
    private Long childNum;

    /**
     * 住房条件
     */
    private Long housing;
    /**
     * 居住时间
     */
    private Long housingTime;

    /**
     * 保险
     */
    private Long insuranceId;

    /**
     * faceBook链接
     */
    private String facebookLink;

    /**
     * zalo链接
     */
    private String zaloLink;

    /**
     * 市
     */
    private Long cityId;

    /**
     * 区
     */
    private Long areaId;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 职业
     */
    private Long vocationId;

    /**
     * 薪资
     */
    private Long salary;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 公司名称
     */
    private String companyAddr;

    /**
     * 公司电话
     */
    private String companyPhone;


    private String resource;

    private String channel;

    /**
     * 用户认证状态
     */
    private String status;

    /**
     * 运营商状态
     */
    private String operatorStatus;

    private Integer applyMoney;

    private Date birthday;

    private String cardFront;

    private String cardBack;

    private String holdImg;

    private String cardNo;

    private String deviceType;

    private Integer age;

    private Date operatorVerifyTime;

    private String operatorName;
}
